package com.itheima.mapper;

import com.itheima.pojo.Province;
import com.itheima.pojo.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProvinceMapper {
    /**
     * 查询全部省份
     */
    @Select("select * from province")
    List<Province>  list();
}
